/**
 *  预览
 * @author litao
 */
import { get } from './request';

const show = { loading: false, success: false };

// 获取求职者个人基本信息
export const getBasicInfo = (params: object) => get('/regressive/emp/empjobseekerpreview/basicInfo', params, show);

// 技能证书
export const querySkillsCertificate = (params: object) => get('/regressive/emp/empjobseekerpreview/querySkillsCertificate', params, show);

// 学业成绩
export const queryAcademicAchievement = (params: object) => get('/regressive/emp/empjobseekerpreview/queryAcademicAchievement', params, show);

// 校内活动
export const queryInSchoolActivity = (params: object) => get('/regressive/emp/empjobseekerpreview/queryInSchoolActivity', params, show);

// 校外活动
export const queryOutSchoolActivity = (params: object) => get('/regressive/emp/empjobseekerpreview/queryOutSchoolActivity', params, show);

// 参建项目
export const queryProject = (params: object) => get('/regressive/emp/empjobseekerpreview/queryProject', params, show);

// 根据附件文件名获取附件文件内容
export const queryAttachmentFile = (params: object) => get('/regressive/emp/empjobseekerpreview/queryAttachmentFile', params, { loading: true, success: false });
